package com.formatcsv.general.web;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Copyright © XXX. All rights reserved.
 *
 * @Title: DataViewController
 * @Prject: general
 * @Package: com.formatcsv.general.web
 * @Description:
 * @author: feejson
 * @date: 2020/9/23 5:56 下午
 * @version: V1.0
 */
@Slf4j
@RestController
@RequestMapping("/data")
@AllArgsConstructor
@Api(value = "数据操作", tags = "数据接口")
public class DataViewController {
    @GetMapping("/1")
    @ApiOperation(value = "接口说明",notes="##详细##")
    public JSONObject changeBaseHere(){
        log.info("打印参数 {}",1);
        return null;
    }
}
